package solution1.demo1201.demo_other;

import java.io.Serializable;

public class Demo1 implements Serializable {

    private String name;
    private Integer age;

    @Override
    public String toString() {
        return "name: " + name + ", age: " + age + ". ";
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
